package com.gopay.common.constants.fund;

/**
 * @Description    基金类型
 * @Author baiyunpeng
 * @Date 2017/6/20 10:56
 * Copyright (c) 2017. www.gopay.com.cn Inc.All rights reserved.
 */
public enum FundFileTypeEnum {
    /*
     *调拨文件 1文件
     */
    ALLOCATION("-ALLOCATION","调拨文件","_allocation_","fund_allocation"),
    /**
     * 申购认购对账文件
     */
    CHECK_ALLOCATION("CHECK-ALLOCATION","申购认购对账文件","_allocation_check_","fund_allocation_check"),
    /**
     赎回结果对账
     */
    CHECK_REDEEM("CHECK-REDEEM","赎回结果对账","_redeem_pay_check_","fund_redeempay_check"),
    /**
     * 签约文件 7文件
     */
    SIGN("-SIGN","签约文件","_sign_","fund_sign"),
    /**
     * 撤销明细文件 9文件
     */
    CANCEL("-CANCEL","撤销明细文件","_cancel_","fund_cancel"),
    /**
     * 理财转基金 28文件
     */
    TRANSFER_GF("TRANSFER-","理财转基金文件","_transfer_","fund_transfer"),
    /**
     * 解绑卡文件 8文件
     */
    SUPERVISE_BINDCARD("-BINDCARD","解绑卡文件","_bindcard_","fund_bindcard"),
    /**
     * 基金到理财专户文件 27
     */
    SUPERVISE_WITHDRAW("WITHDRAW-","基金到理财专户文件","_withdraw_","fund_withdra"),

    /**
     * 分红赎回退款文件 0文件
     */
    SUPERVISE_REDEEM("SUPERVISE-REDEEM","分红赎回退款文件","_redeem_","fund_redeem"),

    SUPERVISE_REDEEM_RESULT("-REDEEM-RESULT","分红赎回退款结果文件","_redeem_","fund_redeem_res"),
    SUPERVISE_REDEEM_CHECK("-REDEEM-CHECK","基金公司分红赎回退款对账","_redeem_check_","fund_redeem_check"),
    SUPERVISE_REDEEM_CHECK_DIFFER("-REDEEM-CHECK-DIFFER","基金公司分红赎回退款对账差异文件","_redeem_check_differ_","fund_redeem_check_differ");


    public String value;
    public String des;
    public String fileSuffix;
    public String redisKey;
    FundFileTypeEnum(String value, String des,String fileSuffix,String redisKey){
        this.value = value;
        this.des = des;
        this.fileSuffix = fileSuffix;
        this.redisKey = redisKey;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getDes() {
        return des;
    }

    public void setDes(String des) {
        this.des = des;
    }

    public String getFileSuffix() {
        return fileSuffix;
    }

    public void setFileSuffix(String fileSuffix) {
        this.fileSuffix = fileSuffix;
    }

    public String getRedisKey() {
        return redisKey;
    }

    public void setRedisKey(String redisKey) {
        this.redisKey = redisKey;
    }
}
